Repository navigation
Console mode - #101
Merged
Merged
Console mode#101
Conversation
Turned on in Settings or with --console, it runs fullscreen with no frame, keeps the pointer hidden until the mouse moves and goes straight into the dashboard after the first run.
It writes a LaunchAgent on macOS, an autostart entry on Linux or the HKCU Run value on Windows, each starting UIX Desktop with --console, and turning it off removes that entry. The setting shows what's really there instead of what desktop.ini says. Windows and Linux need a real test.
In Console Mode the Exit page now has Go to Desktop, Sleep, Restart and Shut Down, with Restart and Shut Down asking first and starting on Cancel. Tested on macOS in dry run only; Linux and Windows need a real test.
With --console the first process just runs UIX Desktop as its child and starts it again after a crash, but gives up and logs it if it crashes twice within a minute. On Windows a restart from the guide or Ctrl+R now asks the watchdog to do it, since exec there would end the watched process. Windows needs a real test.
The guide header shows the battery when running on it or charging. Desktop Tools has System Settings, which opens the OS's own settings and is hidden on Linux when nothing can open them. Linux and Windows need a real test.
UIX_DEV_WINDOWED=1 skips the fullscreen switch, so the power screens can be checked without taking over the display.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First step toward using UIX Desktop in place of a machine's normal shell, without changing anything about the OS itself. The desktop stays underneath the whole time.
--console): borderless fullscreen with no frame, the pointer hidden until the mouse moves, straight to the dashboard.Checked on macOS: login item written and removed only in a throwaway home, power actions in dry run only (UIX_DEV_POWER_DRYRUN=1), watchdog relaunch and give-up with a forced crash, confirm screens start on Cancel. Lint, desktop and both Xbox builds clean. Windows and Linux were syntax checked; real power, autostart and watchdog runs on those still need testing.